<div class="row">
				<div class="col-md-12">
					<div class="panel panel-primary">
						<div class="panel-heading">
							<h4>TV盒子配置</h4>
						</div>
									<div class="row">
										<div class="col-md-12">

													<div class="tab-pane active" id="nav-tab-1">
														<div class="row">
														    <div class="col-xs-12">
														        <div class="panel panel-midnightblue">
														            <div class="panel-body">
														                <form action="#" class="form-horizontal row-border"  data-validate="parsley"  id="validate-form">

																			<div class="form-group">
																				<label class="col-sm-3 control-label" >是否开启:</label>
																				<div class="col-sm-6">
																					<select class="form-control"  id="is_open" name="is_open" >
																						<option value="1" {present name="config.is_open"}{if condition="$config.is_open eq 1" }selected{/if}{/present}>开启</option>
																						<option value="0" {present name="config.is_open"}{if condition="$config.is_open eq 0" }selected{/if}{/present}>不开启</option>
																					</select>
																				</div>
																			</div>


																			<div class="form-group"  id="bg_image_div">
																				<label class="col-sm-3 control-label" >背景图片<span class="label label-danger">建议分辨率：(1260*700)</span>:</label>
																				<div class="col-sm-6">
																					<section id="bg_image_section" class="section-white">
																						<div class="container">
																							<div class="row">
																								<div class="row">
																									<div class="col-md-10">
																										{present name="config.bg_url"}
																										<img src="{$config.bg_url}"
																											 alt=""  class="img-rounded">
																										{/present}
																									</div>
																									<div class="col-md-12">
																										<input type="file" name="files[]" id="bg_fileInput" multiple>
																										<input  type="hidden" value="{$config.bg_url|default=''}" name="bg_url" id="bg_image" />
																									</div>
																								</div>
																							</div>
																						</div>
																					</section>
																				</div>
																			</div>


																			<div class="form-group"  id="logo_image_div">
																				<label class="col-sm-3 control-label" >Logo图片 <span class="label label-danger">建议分辨率：（472*91）</span> ：</label>
																				<div class="col-sm-6">
																					<section id="logo_image_section" class="section-white">
																						<div class="container">
																							<div class="row">
																								<div class="row">
																									<div class="col-md-10">
																										{present name="config.logo_url"}
																										<img src="{$config.logo_url}"
																											 alt=""  class="img-rounded">
																										{/present}
																									</div>
																									<div class="col-md-12">
																										<input type="file" name="files[]" id="logo_fileInput" multiple>
																										<input  type="hidden" value="{$config.logo_url|default=''}" name="logo_url" id="logo_image" />
																									</div>
																								</div>
																							</div>
																						</div>
																					</section>
																				</div>
																			</div>

																			<div class="form-group">
																				<label class="col-sm-3 control-label" for="welcome_tpl">欢迎语:</label>
																				<div class="col-sm-6">
																					<textarea name="welcome_tpl" class="form-control" id="welcome_tpl" rows="10">{notpresent name="config.welcome_tpl"}{{member_name}}会员，欢迎您第{{in_count}}次入场锻炼，要坚持打卡哦！{else /}{$config.welcome_tpl|default=''}{/notpresent}</textarea>
																					<div class="alert alert-dismissable alert-info">{{member_name}}表示会员名，{{in_count}}表示入场次数 <p>例：{{member_name}}会员，欢迎您第{{in_count}}次入场锻炼，要坚持打卡哦！</p></div>
																				</div>
																			</div>

														                    <div class="row">
														                    <div class="col-sm-6 col-sm-offset-3">
														                        <div class="btn-toolbar">
														                            <a class="btn-primary btn" id="form-submits">提交</a>
																					<a class="btn btn-info" id="push_btn">推送</a>
														                        </div>
														                    </div>
														           		    </div>
														                </form>
														            </div>
														        </div>
												    </div>
													<!-- nav-tab-1 结束-->
							  					</div>
											</div>
										</div>
							</div>
					</div>
				</div>
			</div>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}windows/tv_config.js'></script>
